package com.example.lesson072.pojo;

import lombok.Data;

import java.util.List;

/**
 * @program: lesson07-2
 * @description: 用户实体类
 * @author: 蓝建平
 * @create: 2020-09-18 22:42
 **/
@Data
public class User {
    private int id;
    private String username;
    private String password;
    private String birthday;

    private List<Order> orderList;   //代表当前用户具备哪些订单

    //代表当前用户具备哪些角色
    private List<Role> roleList;

}
